package com.monitor.app_monitor.service;

import com.monitor.app_monitor.entity.TaskDO;
import com.monitor.app_monitor.entity.Webhook;
import com.monitor.app_monitor.vo.EmsListVo;
import org.quartz.SchedulerException;

import java.sql.SQLException;
import java.util.List;


/**
 * jobService
 * @author wyz
 * @date 2018年6月23日
 * @website www.laoyeye.net
 */

public interface TaskService {
    


    void initSchedule() throws SchedulerException, SQLException;

    List<TaskDO> alljob();

    void run(String taskName ,String group ) throws SchedulerException;

    String  sendMsg(Webhook webhook);

    List<EmsListVo> emsList();

    String emsAdd(String emsName , String resType);

    String emsdel(String emsName , String resType);

    String getYgFile();

}
